Test that when you change a file in the app, it gets reloaded properly #293

lancejpollard opened this Issue Sep 19, 2012 · 2 comments


None yet
3 participants

lancejpollard commented Sep 19, 2012

How are you supposed to test this practically? Are mocks/stubs normally used in this situation? Need to test that reloading changed files works cross-os.


scottkf commented Sep 19, 2012

Shouldn't grunt test for this? Or are you testing your integration of grunt? If so, you can setup a simple test gruntfile just for grunt so it performs faster


lancejpollard commented Sep 19, 2012

Yeah I want to test the integration of it (it's actually just with chokidar in tower-application/server/watch.coffee, not grunt).

There's a lot of these integration-level things that we need to test and I don't yet see a solid pattern for how/when to test them. The insights help. This stuff unexpectedly breaks every now and then and we need a way to prevent that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment