Maksim Ovcharik
Maksim Ovcharik
Hello Parts of my config: ``` coffee # order is important grunt.registerTask 'default', ['browserify:dev', 'less:dev', 'connect', 'watch'] grunt.initConfig { # ... # dev static server with livereload connect: dev: options:...
@wesvetter this solution for combining `watchify` and `grunt-contrib-watch`. From documentation: > ### watch > > Type: Boolean If true, invoke [watchify](https://github.com/substack/watchify) instead of browserify. > > For watchify to work...
Option `watch` determines that will be used watchify vs browserify. https://github.com/jmreidy/grunt-browserify/blob/master/lib/runner.js#L33 ``` js //determine watchify or browserify var b = options.watch ? this.watchify(this.browserify(bOpts), wOpts) : this.browserify(bOpts); ``` Although option `keepAlive`...
> The code in the snippit seems to leave me with a cache file that looks like this: > > ``` javascript > {"path_to_file.js":{"cache":{},"packageCache":{}}} > ``` This is because `grunt-browserify`...
See #40