-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BS CLI npm scripts recipe #2
Comments
@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 😓 No, I haven't. Nice idea though. |
Related: BrowserSync/browser-sync#533 |
Hey @davidhund what about injecting the browsersync script into the HTML files on serve - any luck with that? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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...The text was updated successfully, but these errors were encountered: