mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
6dd44e4436
Previously when `config.rb` specified a watched source, e.g.: ``` files.watch :source, path: File.join(root, '..', 'source1'), destination_dir: 'baz' ``` When running `middleman serve`: The source showed on first render, but files did not reload after the source was edited. This commit fixes that issue in cases when: - the `destination_dir` in inside the same directory as `source` - the `destination_dir` is in a external directory form `source` - the `destination_dir` has a different name from `source` Fixes #2186. Signed-off-by: Miranda Limonczenko <mlimonczenko@pivotal.io> |
||
---|---|---|
.. | ||
external | ||
my-app |