dropfoki.blogg.se

Npm livereload
Npm livereload








npm livereload

To use the example,Ĭheck out this repository, then check the example out inside of this repositoryĪnd rename it to src. Live reload enabled watchers for everything.Browserify is included for JS processing/require.Everything lives in src in a sensible folder structure.This means you can safely update this project at any time and not need to gitignored from here, so won't ever be overwritten or modified. Requires global gulp and gulp-cli to be installedĪlso requires node/npm, obvs.

Npm livereload install#

NPM pre 7: npm install - NPM 7 and above: npm install -legacy-peer-deps If you don't have homebrew on OSX, visit RUNNING If you have homebrew installed on OSX this is as simple as brew install node. You shouldn't have to now touch anything outside of src Now you're all configured, running npm run develop will give you a livereload enabled express server. OR keep the git info in here, meaning you can periodically update your copy Remove the git info from this repo too and create an empty repo and check all of this in If you wish to use this as a base for future development, remove the git info

npm livereload

Of this repo whenever you wish, but keep the src folder separately under source control. You can run npm run deploy to copy everything to deploy/app - this folder can be transferred to a host with node and run using your favourite processes to keep node apps alive.Ĥ.3.0 - Changed to use npm scripts. Documented deploy.ģ.0.0 - Added in babel support as it's fast now. Tweaked some stuff around how CSS is built.

npm livereload

Tweaked the eslint settings.ġ.1.0 - A few changes reorganising things.










Npm livereload