mirror of https://github.com/webpack/webpack.git
fixed watch mode
This commit is contained in:
parent
9e83a0ff7c
commit
5dd2e0bbf8
|
|
@ -106,6 +106,8 @@ webpack(options, function(err, stats) {
|
|||
else {
|
||||
console.log(stats.toString(outputOptions));
|
||||
}
|
||||
// Do not keep cache anymore
|
||||
process.exit();
|
||||
if(!options.watch) {
|
||||
// Do not keep cache anymore
|
||||
process.exit();
|
||||
}
|
||||
});
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webpack",
|
||||
"version": "0.11.0-beta25",
|
||||
"version": "0.11.0-beta26",
|
||||
"author": "Tobias Koppers @sokra",
|
||||
"description": "Packs CommonJs/AMD/Labeled Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jade, coffee, css, less, ... and your custom stuff.",
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue