mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
vagrant brunch detect file changes made on host
This commit is contained in:
parent
3913ae9909
commit
ae7f7fa44f
2 changed files with 4 additions and 1 deletions
|
@ -39,6 +39,9 @@ exports.config =
|
|||
# So we remove the ones that have public in them.
|
||||
exec = require('child_process').exec
|
||||
exec "perl -pi -e 's/\\/\\/# sourceMappingURL=public.*//g' public/javascripts/*.js"
|
||||
vagrant:
|
||||
watcher:
|
||||
usePolling: true
|
||||
|
||||
files:
|
||||
javascripts:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
vagrant ssh -c "sudo mount -o bind /node_modules /vagrant/node_modules"
|
||||
vagrant ssh -c "cd /vagrant && bin/coco-brunch"
|
||||
vagrant ssh -c "cd /vagrant && BRUNCH_ENV=vagrant bin/coco-brunch"
|
||||
|
||||
|
|
Loading…
Reference in a new issue