awatson1978 / clinical-nightwatch

Ultra-easy acceptance testing for your Meteor app with Selenium and Nightwatch.
21 stars 3 forks source link

Nightwatch gets automatically removed every buildcycle? #12

Open ryanswrt opened 9 years ago

ryanswrt commented 9 years ago

Basically, I have to manually create a node-modules directory in the .meteor/build directory, otherwise the nightwatch runner fails to install the npm package. This directory gets removed every time the application gets rebuilt, making it quite an irritating process; also, re-pulling the npm package every time seems to be pretty inefficient.

Might it be a better solution just to require Nightwatch to be installed globally for the app to run?

awatson1978 commented 9 years ago

Hmmm... well, installing locally was a constraint of working within the isopack packaging system. We tried installing nightwatch globally, but ran into problems.

Either which way, please be aware that this package is getting deprecating in favor of the shinny new StarryNight utility which gets rid of all these configuration headaches.

You can find it's homepage here: http://starrynight.meteor.com/

Thank you for reminding me that I need to update the package documentation to reflect that its been deprecated.