iloire / watchmen

A simple node.js service monitor
MIT License
941 stars 199 forks source link

Is there any way to develop without gulp-building? #49

Closed zarzen closed 8 years ago

zarzen commented 8 years ago

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:

  <script src="<%=baseUrl%>build/vendor.js"></script>
  <script src="<%=baseUrl%>build/app.js"></script>

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.

iloire commented 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?

zarzen commented 8 years ago

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..

iloire commented 8 years ago

The gulp watch should be calling the js-dev gulp task that does not minify the JS bundle