notebook/docs/source/development.rst
2015-05-14 10:49:28 -07:00

936 B

Development

CSS live reloading

If you are working on notebook styling, you can use the live-reloading option of gulp to watch for changes in the .less files and automatically rebuild the css and reload the current page.

To do so we rely on the livereaload extension of various browser (for chrome), and the gulp-livereload extension.

To use the livereload extension, in the root of notebook project launch:

$ gulp watch

Any changes to any of the less files under the notebook/static directory will trigger a rebuild of css and ask the reload extension to reload the current page.

Do not forget to activate the extension for the current page by clicking on it. The dot at the center of the extension icon will be come darker when the extension is activated.