Skip to content

Creamie HTML, CSS development file changes webpack watcher

License

Notifications You must be signed in to change notification settings

Haribalajiravi/creamie-watcher

Repository files navigation

Creamie Watcher

Build Status

Become a patreon

Open in Gitpod

Note: This package is only dependant for @creamie/cli. Recommend not to use this for any other purpose.

Usage

To listen html & css file changes in application folder. A boot.js file will be generated under each component folder which contains html & css file contents assigned to a key (key is decided to be a html/css filename for ease).

While development run, changes being done by developer will be captured and loaded in boot.js. Then, our webpack will make use of boot.js to run our application.

Commands

To listen for html & css files change along with booter functionality.

creamie-watch

To load boot.js alone use,

creamie-watch -i

Method usage

    const  CreamieWatcher = require('creamie-watcher');
    // watch for html/css files changes and load those in boot.js
    CreamieWatcher.watch();
    // Load boot.js
    CreamieWatcher.boot();

About

Creamie HTML, CSS development file changes webpack watcher

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •