Open davidhund opened 9 years ago
@davidhund - great idea & there's quite a bit of demand for this.
@shinnn - any experience with sending/receiving signals between processes? mostly just something that can trigger a reload will do for now.
@shakyShane :sweat: No, I haven't. Nice idea though.
Hey @davidhund what about injecting the browsersync script into the HTML files on serve - any luck with that?
I am currently moving away from build tools such as Grunt and Gulp and moving more towards using
npm run
directly. See http://substack.net/task_automation_with_npm_run & http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/My projects' development process often include the following:
./dist/*.html
,./dist/assets/css/*.css
,./dist/assets/js/*.js
files./src/assets/*.scss
./src/
and./dist/
I have gotten it 'somewhat' working but I am pretty sure there are better ways to tie all this together with BS at the core..
Any ideas? If I figure this out I'd like to add it as a '
npm run
recipe'.Example
package.json
scripts
section:Note The above simply copies HTML, JS and IMG files from
./src/
to./dist/
and does not yet deal with browserify, autoprefixr etc...