Support watching for changing code

Closes #93
This commit is contained in:
bmustiata 2019-01-28 14:22:46 +01:00 committed by Martin Pitt
parent 7b67b091f1
commit 81096b95ca
3 changed files with 14 additions and 0 deletions

View file

@ -33,6 +33,16 @@ ln -s `pwd`/dist ~/.local/share/cockpit/starter-kit
After changing the code and running `make` again, reload the Cockpit page in
your browser.
You can also use
[watch mode](https://webpack.js.org/guides/development/#using-watch-mode) to
automatically update the webpack on every code change with
$ npm run watch
or
$ make watch
# Running eslint
Cockpit Starter Kit uses [ESLint](https://eslint.org/) to automatically check