diff --git a/index.js b/index.js index d17cec612..7e3818bf8 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ const rimraf = require('rimraf'); let controller; let stopping = false; -const hashFile = path.join('dist', '.hash'); +const hashFile = path.join(__dirname, 'dist', '.hash'); async function restart() { await stop(indexJsRestart);