mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
3b1a00cf47
This change lets a source be defined with a destination directory. That way we can mount a source (say a gem’s ‘doc’ directory) in a namespace and worry less about name collisions with files in other sources.
2 lines
No EOL
102 B
Ruby
2 lines
No EOL
102 B
Ruby
files.watch :source, path: File.join(root, 'source2'),
|
|
destination_dir: 'source2' |