Closed zarzen closed 8 years ago
You can just run gulp watch
and it will take care of building the project for you in the background when you make changes. Or are you missing something in particular?
But in this way, gulp still will compile the js file. it's hard for debugging. So i am using it in a wrong way? sorry i am a newbie in js-world. sorry... a mistyping 'not'. I don't know much about js..
The gulp watch
should be calling the js-dev
gulp task that does not minify the JS bundle
I find that I need to build the javascript files after I modified them. And then add a script resource location "app.js" ,in the 'index.html' file. like this:
So it can finally works. I wonder know, if there are some ways to allow me to develop without building. Seems include all raw js file is not a good idea.